home *** CD-ROM | disk | FTP | other *** search
- Path: awadi.com.au!news
- From: knewbery@awadi.com.au (Kym Newbery)
- Newsgroups: comp.sys.m68k
- Subject: Help with setting up 68040 MMU req'd
- Date: 28 Feb 1996 03:26:20 GMT
- Organization: AWA Defence Industries
- Distribution: world
- Message-ID: <4h0i0s$84a@myall.awadi.com.au>
- Reply-To: knewbery@awadi.com.au
- NNTP-Posting-Host: melaleuca.awadi.com.au
- Keywords: 68040, 68030 MMU
-
- Hello all,
-
- I am seeking somebody would can help me, or provide a pointer to
- information on how to setup the MMU in a home-grown 68040 processor board.
- I have read the 68040 users guide back-to-front and tried to understand the
- section on the MMU but there are no worked examples which makes understanding
- the MMU difficult.
-
- What I would like to do is to write protect a block of SRAM. The
- processor we have built has SRAM from address 0x02000000 to 0x021fffff (2Mega
- bytes, 512Klongwords worth). I would like to be able to write data/code into
- the top section from 0x02100000 to 0x021fffff then turn on the MMU and write
- protect it. I realise that I will need to create a translation table in RAM
- somewhere - the problem is how big a translation table do I require ??.. does
- it have to all the three levels of tables??, or can somebody describe what is
- required? I'm a bit worried that we will have to create a huge translation
- table to implement a simple memory protection scheme.
-
- Also, we have implemented a hardware protection mechanism that asserts
- TEA when an access to non-allocated memory space is made (this then causes
- an access/bus error) _and_ we would like to be able to cache the SRAM block
- but not our I/O block (which is located up near 0x0C400000 to 0x0C40FFFF).
- (I am using the TT registers to do this).
-
- Thanks in advance for any help, advice or references to more info..
-
- Kym.
- --
- Kym B Newbery VK5XKN | email @work knewbery@awadi.com.au
- Hardware Design Engineer | phone @work +61 8 256 0526
- AWA Defence Industries |
- Salisbury, South Australia |
-
-
-